home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / machserver / 1.098 / net / sun4.md / netConfig.c < prev    next >
C/C++ Source or Header  |  1990-10-19  |  1KB  |  32 lines

  1. /*
  2.  * netConfig.c --
  3.  *
  4.  *    Machine-type dependent initialization of the network interfaces.
  5.  *
  6.  * Copyright (C) 1987 Regents of the University of California
  7.  * Permission to use, copy, modify, and distribute this
  8.  * software and its documentation for any purpose and without
  9.  * fee is hereby granted, provided that the above copyright
  10.  * notice appear in all copies.  The University of California
  11.  * makes no representations about the suitability of this
  12.  * software for any purpose.  It is provided "as is" without
  13.  * express or implied warranty.
  14.  *
  15.  *
  16.  * $Header: /sprite/src/kernel/net/sun4.md/RCS/netConfig.c,v 9.1 90/10/19 15:47:55 jhh Exp $ SPRITE (Berkeley)
  17.  */
  18.  
  19. #include <sprite.h>
  20. #include <net.h>
  21. #include <netInt.h>
  22. #include <netIEInt.h>
  23. #include <netUltraInt.h>
  24.  
  25. Net_Interface netConfigInterfaces[] = {
  26.     {"IE", 0, (Address) NET_IE_CONTROL_REG_ADDR, TRUE, 6, NetIEInit},
  27.     {"ULTRA", 0, (Address) NET_ULTRA_CONTROL_REG_ADDR, FALSE, 220, NetUltraInit}
  28. };
  29. int netNumConfigInterfaces = 
  30.         sizeof(netConfigInterfaces) / sizeof(Net_Interface);
  31.  
  32.